package com.jt808.decode.constant;

import lombok.Getter;

/**
 * <p>Description: JT808 Message ID Enumeration</p>
 *
 * @date 2018/2/3
 */
@Getter
public enum Jt808MessageIdEnum {

    /**
     * Platform general response
     */
    MSG_8001(0x8001, "Platform general response"),

    /**
     * Supplementary subcontracting request
     */
    MSG_8003(0x8003, "Supplementary subcontracting request"),

    /**
     * Query server time response
     */
    MSG_8004(0x8004, "Query server time response"),

    /**
     * Device registration response
     */
    MSG_8100(0x8100, "Device registration response");

    private int messageId;
    private String desc;

    Jt808MessageIdEnum(int messageId, String desc) {
        this.messageId = messageId;
        this.desc = desc;
    }
}
